
                <!-- form start -->
                <form action="{{url('admin/ctype')}}" method="post" id="myaddform" class="form-horizontal">
                  <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
                  <div class="box-body">
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-4 control-label">父类名字：</label>
                      <div class="col-sm-4">
                        <select name="pid" >
							<option value="0">根类别</option>
							@foreach($list as $v)
								<option value="{{$v->id}}">{{$v->name}}</option>
							@endforeach
						</select>
                      </div>
                    </div>
					<div class="form-group">
                      <label for="inputPassword3" class="col-sm-4 control-label">类别名称：</label>
                      <div class="col-sm-4">
                        <input type="text" class="form-control" id="inputPassword3" placeholder="添加类别" name="name">
                      </div>
                    </div>
					<div class="form-group">
                      <label for="inputPassword3" class="col-sm-4 control-label">设置状态：</label>
                      <div class="col-sm-4">
                        <input type="radio"  name="status" value="0">启用  &nbsp; &nbsp; 
                        <input type="radio"  name="status" value="1">不启用
                      </div>
                    </div>
                  </div><!-- /.box-body -->
                  
                </form>
			